package com.cjh.springcloud.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @author cjh
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class Emp implements Serializable {

    private static final long serialVersionUID = 853847329014659700L;

    private Integer empId;
    private String empName;
    private Character gender;
    private String email;
    private String dataSource;

    public static final String EMP_ID="emp_id";
    public static final String EMP_NAME="emp_name";
    public static final String GENDER="gender";
    public static final String EMAIL="email";
    public static final String DEPT_ID="dept_id";
    public static final String DATA_SOURCE="data_source";

    public static void main(String[] args) {
        Emp emp=new Emp();
        emp.setEmpId(1).setEmpName("xw").setEmail("xw@qq.com");


    }
}
